﻿<!DOCTYPE html>
<html>
	<head>
		<title>Remove duplicates</title>
		<meta charset="utf-8" />
        <meta name="description" content="Remove duplicates in a selected data range." />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
        <div class="search-field">
            <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
        </div>
			<h1>Remove duplicates</h1>
            <p>In the <a href="https://www.onlyoffice.com/spreadsheet-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Spreadsheet Editor</b></a>, you can remove duplicate values from the selected data range or a <a href="FormattedTables.htm" onclick="onhyperlinkclick(this)">formatted table</a>.</p>
            <p>To remove duplicates:</p>
            <ol>
                <li>Select the necessary cell range containing duplicate values.</li>
                <li>Switch to the <b>Data</b> tab and click the <div class = "icon icon-removeduplicates_icon"></div> <b>Remove Duplicates</b> button on the top toolbar.
                <p>If you want to remove duplicates from a formatted table, you can also use the <span class="icon icon-removeduplicates"></span> <b>Remove duplicates</b> option on the right sidebar.</p>
                <p>If you select a certain part of the data range, a warning window will appear where you will be asked if you want to expand the selection to include the entire data range or proceed with the currently selected data. Click the <b>Expand</b> or <b>Remove in selected</b> button. If you choose the <b>Remove in selected</b> option, duplicate values in cells adjacent to the selected range will not be removed.</p>
                <p><img alt="Remove Duplicates warning" src="../images/removeduplicates_warning.png" /></p>
                <p> The <b>Remove Duplicates</b> window will open:</p>
                    <p><img alt="Remove Duplicates" src="../images/removeduplicates_window.png" /></p>
                </li>
                <li>Check the necessary options in the <b>Remove Duplicates</b> window:
                <ul>
                    <li><b>My data has headers</b> - check this box to exclude column headers from the selection.</li>
                    <li><b>Columns</b> - leave the <b>Select All</b> option selected by default or uncheck it and select the necessary columns only.</li>
                </ul>
                </li>
                <li>Click the <b>OK</b> button.</li>
            </ol>            
            <p>The duplicate values from the selected data range will be removed, and you will see the window that contains the information on how many duplicate values have been removed and how many unique values have been left:</p>
            <p><img alt="Removed duplicates" src="../images/removeduplicates_result.png" /></p>
            <p>If you want to restore the removed data right after deletion, use the <b>Undo</b> <span class="icon icon-undo"></span> icon on the top toolbar or the <em>Ctrl+Z</em> key combination.</p>
            
		</div>
	</body>
</html>